/**
 * OpenAction.java
 * @author: liuex
 * 2007-12-28 ����10:15:16
 *
 * note: 
 */
package org.lex.explorer.file;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import javax.swing.KeyStroke;

public class PropertiesAction extends AbstractFileAction {
	public PropertiesAction(FileExplorer fileExplorer) {
		super(fileExplorer);
		this.setName("Properties");
		this.setAcceleratorKey(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, KeyEvent.ALT_DOWN_MASK));
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		PropertiesDialog.showFiles(getRootWindow(), fileExplorer.getSelectedFiles());
	}
}
